<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>贪食蛇</title>
</head>
<body>
<canvas id="myCanvas" width="400" height="200" style="background-color: #000000">
    糟糕 你的浏览器 我还搞不懂也？
</canvas>
<script src="script/wind/wind-all-0.7.3.js"></script>
<script>
    let myCanvas = document.getElementById("myCanvas");
    let cxt = myCanvas.getContext("2d");
    let mr = Math.random();
    let drawSnakeAndFood = function (p) {
        
    }
    let moveAsync = eval(Wind.combine("async", function (p) {
        while (true) {
            if (p[p.length - 1].x < 0 || p[p.length - 1].x > 39 || )

            $await(Wind.Async.sleep(100));
        }
    }));
</script>
</body>
</html>